package cn.hiapi.shopkeeper.request;

import cn.hiapi.basic.entity.BasicEntity;
import cn.hiapi.shopkeeper.consts.AppConst;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author AdinZ
 * @date 2022/12/17 13:46
 */
@Setter
@Getter
public class CreateOrderRequest extends BasicEntity {

    @ApiModelProperty("商品id")
    private long id;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("下单量")
    private int number=1;

    @ApiModelProperty("喜糖抵扣数量")
    private BigDecimal sugar;

    @ApiModelProperty("支付密码")
    private String payPwd;

    @ApiModelProperty("支付方式")
    private String payType;

    @ApiModelProperty("其他数据")
    private JSONObject other;

    @ApiModelProperty("邀请码")
    private String inviteCode;




}
